package com.github.wxpay.sdk;

import com.github.wxpay.sdk.WXPayConfig;

import java.io.InputStream;

public class QGWxPayConfig extends WXPayConfig{

    @Override
    public String getAppID() {
        return "wxab8acb865bb1637e";
    }

    @Override
    public String getMchID() {
        return "11473623";
    }

    @Override
    public String getKey() {
        return "2ab9071b06b9f739b950ddb41db2690d";
    }

    @Override
    InputStream getCertStream() {
        return null;
    }

    @Override
    IWXPayDomain getWXPayDomain() {
        return new IWXPayDomain() {
            @Override
            public void report(String domain, long elapsedTimeMillis, Exception ex) {

            }

            @Override
            public DomainInfo getDomain(WXPayConfig config) {
                return new DomainInfo(WXPayConstants.DOMAIN_API,true);
            }
        };
    }
}
